import request from '@/utils/request'

// 查询取消月票记录列表
export function listParkTicketRefund(query) {
  return request({
    url: '/system/parkTicketRefund/list',
    method: 'get',
    params: query
  })
}

// 查询取消月票记录详细
export function getParkTicketRefund(id) {
  return request({
    url: '/system/parkTicketRefund/' + id,
    method: 'get'
  })
}

// 新增取消月票记录
export function addParkTicketRefund(data) {
  return request({
    url: '/system/parkTicketRefund',
    method: 'post',
    data: data
  })
}

// 修改取消月票记录
export function updateParkTicketRefund(data) {
  return request({
    url: '/system/parkTicketRefund',
    method: 'put',
    data: data
  })
}

// 删除取消月票记录
export function delParkTicketRefund(id) {
  return request({
    url: '/system/parkTicketRefund/' + id,
    method: 'delete'
  })
}

// 导出取消月票记录
export function exportParkTicketRefund(query) {
  return request({
    url: '/system/parkTicketRefund/export',
    method: 'get',
    params: query
  })
}